//
//  MCRequestModel.h
//  MCLC
//
//  Created by Mac on 2018/6/5.
//  Copyright © 2018年 yangkang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface MYKRequestModel : NSObject

// 返回的成功或者失败信息
@property (nonatomic, copy) NSString *msg;
// 返回的数据部分
@property (nonatomic, assign) id data;
// 标记成功或者失败 0:失败 1:成功
//@property (nonatomic, assign) BOOL isSuccess;
// 请求状态值 如200成功 401验证失效 404URL无效
@property (nonatomic, strong) NSNumber *code;
// 对data解析之后拿到的实体对象
@property (nonatomic, strong) id dataEntity;
// 对data解析之后拿到的数组
@property (nonatomic, copy) NSArray *dataArray;

- (instancetype)initWithDictionary:(NSDictionary *)dic;

@end
